<template>
  <div>
    <!-- 待办事项详情页面 -->
    待办事项详情页面
  </div>
</template>

<script>
import { ref, reactive, computed, getCurrentInstance, onUnmounted } from "vue";
import { useStore } from "vuex";
import { useRouter } from "vue-router";
import UserAvatar from "../../components/UserAvatar.vue";

export default {
  name: "TodoDetail",
  components: { UserAvatar },
  setup() {
    const { proxy } = getCurrentInstance();
    const $api = proxy.$api;
    const $moment = proxy.$moment;
    const store = useStore();
    const router = useRouter();
    const userInfo = computed(() => store.state.user.userInfo);

    /**
     * 初始化
     */

    onUnmounted(() => {
      // timeEvent.destroy();
    });

    return {
      userInfo,
    };
  },
};
</script>

<style lang="less" scoped>
.el-row {
  margin-bottom: 20px;
}
</style>
